﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LotteryVote.Logic.Exceptions
{
    public class InvalidShareRateException : Exception
    {
        public double ShareRate { get; set; }

        public InvalidShareRateException(double rate, string message)
            : base(message)
        {
            this.ShareRate = rate;
        }
        public InvalidShareRateException(double rate, string message, Exception innerException)
            : base(message, innerException)
        {
            this.ShareRate = rate;
        }
    }
}
